#pragma once

#include "driver/uart.h"

typedef bool (* Rs485AnalyzeFunc_t)(char* data, char* output,size_t *len);

bool Rs485SendData(uint8_t Rs485C, uart_port_t uart_num, const void *src, size_t size, bool needWaitReply);
void Rs485Interface_task(void *pvParameters) ;